package com.epcm.admin.epcm.project.param;

import com.epcm.admin.common.core.annotation.QueryField;
import com.epcm.admin.common.core.annotation.QueryType;
import com.epcm.admin.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 项目清单查询参数
 *
 * @author linktoyl@163.com
 * @since 2023-10-18 01:39:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "ProjectParam对象", description = "项目清单查询参数")
public class ProjectParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目id，主键")
    @QueryField(type = QueryType.EQ)
    private Integer projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "工程编号")
    private String projectNo;

    @ApiModelProperty(value = "项目业主")
    private String projectOwner;

    @ApiModelProperty(value = "是否有合同")
    @QueryField(type = QueryType.EQ)
    private Boolean haveContract;

    @ApiModelProperty(value = "工程地址")
    private String projectAddress;

    @ApiModelProperty(value = "税率")
    private Float projectTaxrate;

    @ApiModelProperty(value = "预算金额")
    private Float projectBudget;

    @ApiModelProperty(value = "结算金额")
    private Float projectSettle;

    @ApiModelProperty(value = "是否划款")
    @QueryField(type = QueryType.EQ)
    private Boolean isTransfer;

    @ApiModelProperty(value = "已划款金额")
    private Float transfer;

    @ApiModelProperty(value = "资金批文")
    private String projectApproval;

    @ApiModelProperty(value = "项目接受日期")
    private String projectGetDate;

    @ApiModelProperty(value = "项目开工日期")
    private String projectStartDate;

    @ApiModelProperty(value = "项目完成日期")
    private String projectCompleteDate;

    @ApiModelProperty(value = "项目计划决算日期")
    private String projectPlanFinalDate;

    @ApiModelProperty(value = "项目完成决算日期")
    private String projectCompleteFinalDate;

    @ApiModelProperty(value = "工程交接人")
    private String projectHandover;

    @ApiModelProperty(value = "项目负责人")
    private String projectHead;

    @ApiModelProperty(value = "项目状态")
    private String projectStatus;

    @ApiModelProperty(value = "项目详情")
    private String projectDetails;

    @ApiModelProperty(value = "备注")
    private String remark;

    @QueryField(type = QueryType.EQ)
    private Boolean isDelete;

}
